.cardMini {
    display: flex;
    flex-direction: column;
    gap: $space-xl;
    padding: $space-m;
    border-radius: $border-radius;
    border: 1px solid $border-color;

    &-top {
        display: flex;
        justify-content: space-between;
    }

    &-name {
        @include p-14;
        text-decoration: none;
        color: $text-link;

        &:hover {
            text-decoration: underline;
        }
    }

    &-private {
        margin-left: 4px;
        padding: 0 8px;
        border-radius: 10px;
        border: 1px solid $border-color;
        font-size: 12px;
    }

    &-bottom {
        display: flex;
        align-items: center;
        gap: $space-m;
    }

    &-language {
        display: flex;
        align-items: center;
        gap: 4px;

        &-color {
            @include square(12px);
            border-radius: 50%;
        }
        &-language {
            font-size: 12px;
        }
    }

    &-stars {
        text-decoration: none;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 4px;

        &:hover {
            & > * {
                color: $text-link;
            }
        }

        &-count {
            font-size: 12px;
        }
    }
}
